<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/1/30 0030
 * Time: 下午 13:30
 */

namespace app\admin\validate;

use think\Validate;
class ProductTypes extends Validate
{
    protected $rule= [
        'protype_name'=>'require',
        'protype_describe'=>'require',
        'protype_sort'=>'require',
        'protype_pid'=>'require',
        'protype_number'=>'require'

    ];
    protected $message=[
        'protype_name.require'=>'请输入名称',
        'protype_describe.require'=>'请输入描述',
        'protype_sort.require'=>'请输入排序',
        'protype_pid'=>'请选择所属分类',
        'protype_number'=>'请输入编号'

    ];
}